$(function(){
    $.get("http://193.112.55.79:9090/api/getsitenav",function(res){
        console.log(res);
        var htmlStr = template('linkTmp',res);
        console.log(htmlStr);
        $('.view').html(htmlStr);
    },"json")

    /* 初始化滑动 */
    var myScroll = new IScroll('#wrapper',{
        mouseWheel: true,
    });
})